package cn.stylefeng.guns.modular.basic.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 新零帮oauth2授权表
 * </p>
 *
 * @author zhucx
 * @since 2024-01-17
 */
@Data
@TableName("basic_xlb_oauth2token")
public class BasicXlbOauth2token implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 状态
     */
    @TableField("status")
    private String status;

    /**
     * 公司号
     */
    @TableField("gsnumber")
    private String gsnumber;

    /**
     * oauth2-Token
     */
    @TableField("oauth2_token_xlb")
    private String oauth2TokenXlb;

    /**
     * oauth2-refresh-Token
     */
    @TableField("oauth2_refresh_token_xlb")
    private String oauth2RefreshTokenXlb;

    /**
     * 部门id
     */
    @TableField("dept_id")
    private Long deptId;

    /**
     * 交付客户id
     */
    @TableField("deliver_id")
    private Long deliverId;

    /**
     * 备注
     */
    @TableField("note")
    private String note;

    /**
     * 创建时间
     */
    @TableField("create_times")
    private String createTimes;

    /**
     * 创建人员
     */
    @TableField("create_name")
    private String createName;

    /**
     * v1
     */
    @TableField("v1")
    private String v1;

    /**
     * v2
     */
    @TableField("v2")
    private String v2;

    /**
     * v3
     */
    @TableField("v3")
    private String v3;

    /**
     * v4
     */
    @TableField("v4")
    private String v4;

    @Override
    public String toString() {
        return "BasicXlbOauth2token{" +
        "id=" + id +
        ", status=" + status +
        ", gsnumber=" + gsnumber +
        ", oauth2TokenXlb=" + oauth2TokenXlb +
        ", oauth2RefreshTokenXlb=" + oauth2RefreshTokenXlb +
        ", deptId=" + deptId +
        ", deliverId=" + deliverId +
        ", note=" + note +
        ", createTimes=" + createTimes +
        ", createName=" + createName +
        ", v1=" + v1 +
        ", v2=" + v2 +
        ", v3=" + v3 +
        ", v4=" + v4 +
        "}";
    }
}
